package com.atguigu.gmall.publisher.service;

import com.atguigu.gmall.publisher.beans.TradeProvinceOrderAmount;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;


public interface TradeStateService {
    //获取某天的总交易额
    BigDecimal getGMV(Integer date);

    //获取某天某个省份的交易额
    List<TradeProvinceOrderAmount> getProvinceAmount(Integer date);


}
